home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.6)
-
- import computerjanitor
-
- class UserInterface(object):
- '''This is the base class for user interfaces.
-
- The user interface is in charge of obeying command line arguments,
- and interacting with the user.
-
- The app and pm given to the constructor are stored in the app and
- pm attributes.
-
- '''
-
- def __init__(self, app, pm, mustberoot = True):
- self.pm = pm
- self.app = app
- self.mustberoot = mustberoot
-
-
- def run(self, options, args):
- '''Obey command line arguments in ARGS, and options in OPTIONS.'''
- raise computerjanitor.UnimplementedMethod(self.run)
-
-
-